//导入自定义的UI组件

//轮播图组件
import carousel from "./carousel";
import carouselItem from "./carousel/item.vue";

//图片放大镜组件
import magnify from "./magnify";

//五星好评组件
import stars from "./stars";

//下拉刷新组件
import pullToRefresh from "./pullToRefresh";

let CustomUI = {};

CustomUI.install = function (Vue) {
  Vue.component(carousel.name, carousel);
  Vue.component(carouselItem.name, carouselItem);
  Vue.component(magnify.name, magnify);
  Vue.component(stars.name, stars);
  Vue.component(pullToRefresh.name, pullToRefresh);
};

export default CustomUI;
